# -*- coding: utf-8 -*-
from django.urls import re_path as url
from home_application import views
from blueapps.account.views import get_user_info
from django.urls import path


app_name = "doc"
urlpatterns = [
    url(r'^home/$', views.home),
    url(r'^dev-guide/$', views.dev_guide),
    url(r'^contact/$', views.contact),
    url(r'^helloworld/$', views.index),
    url(r'^python/homework1', views.homework1),
    url(r'^python/homework2', views.homework2),
    url(r'^python/homework3', views.homework3),
    url(r'^frontend', views.frontend),
    url(r'^advanced/homework1', views.adhomework1),
    url(r'^advanced/homework2', views.adhomework2),
    url(r'^advanced/homework3', views.adhomework3),
    url(r'^frontend/account/get_user_info/$', get_user_info, name="get_user_info")
] + [
    path("fileup", views.fileup, name="fileup"),
    path("download/<int:image_id>", views.download, name="download"),
    path("upload/", views.upload, name="upload")
 ]


    